<%-- 
    Document   : CustomizeInfo
    Created on : Sep 27, 2010, 7:41:34 PM
    Author     : IYB
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" import="CustomizeProfile.ProfileUpdater"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Home</title>
<link rel="shortcut icon" type="image/x-icon" href="includes/images/favicon.png" />
<link rel="stylesheet" type="text/css" media="screen" href="includes/css/resetter.css" title="resetter" />
<link rel="stylesheet" type="text/css" media="screen" href="includes/css/style.css" />
<script type="text/javascript" src="includes/js/auto-width.js"></script>
</head>
<body>
    <% ProfileUpdater PU = new ProfileUpdater();
    PU.GetProfil();%>
	<div id="wrap">
		<div id="header">
			<div id="top-logo"><img src="includes/images/transmit.png" style="height:70px"/></div>
			<div id="top-name">SMARTravel</div>
			<div id="login-form">
				<input type="text" value="username"/> <input type="password" value="password"/> <button>Login</button><br/>
				<a href="lostpassword.html">lost password?</a>, or <a href="register.html">register</a>
			</div>
			<div style="clear:both;margin-bottom:-20px"></div>
		</div>
		<div id="top-menu">
			<ul>
				<li><a href="index.jsp">Home</a></li>
				<li><a href="ManageServices.jsp">Service</a></li>
				<li><a href="User.jsp">User</a></li>
				<li><a href="MyOrder.jsp">My Order</a></li>
				<li><a href="OrderList.jsp">Order List</a></li>
				<li><a href="PaymentConfirm.jsp">Payment Confirm</a></li><li><a href="PaymentNotice.jsp">Payment Notice</a></li>
				<li><a href="Resources.jsp">Resources</a></li>
				<li><a href="CustomizeInfo.jsp">Customize Info</a></li>
				<li><a href="UserManagement.jsp">User Management</a></li><li><a href="Statistics.jsp">Statistics</a></li>
				<li><a href="Contact.jsp">Contact</a></li>
			</ul>
		</div>
    	<div id="main">
			<div style="float:left; width:50%"><img src="includes/images/public-transport.jpg" style="width:400px"/></div>
			<div style="float:left; width:50%">
                            <form method="POST" action="ServletUpdateProfile">
				<h1>Travel Customization</h1>
				<h2>Basic Information</h2>
				<table>
					<tr>
						<th>Nama Perusahaan</th>
                                                <td><input type="text" value="<%=PU.nama_perusahaan%>" name="nama_perusahaan" size="20"></td>
					</tr>
					<tr>
						<th>Logo</th>
						<td>
							<img src="includes/images/transmit.png" style="height:70px"/><br>
							<input type="file" value="<%=PU.logo%>" name="logo">
						</td>
					</tr>
					<tr>
						<th>Welcome Message</th>
                                                <td>
                                                    <!--<input type="text" value="welcome message" name="welcome_msg">-->
                                                    <textarea rows="5" cols="40" name="welcome_msg"><%=PU.welcome_msg%></textarea>
                                                </td>
					</tr>
				</table>

				<h2>Contact Information</h2>
				<table>
					<tr>
						<th>Alamat</th>
						<td><input type="text" value="<%=PU.alamat%>" name="alamat" size="40"></td>
					</tr>
					<tr>
						<th>No.Telp</th>
						<td><input type="text" value="<%=PU.telepon%>" name="telepon"></td>
					</tr>
					<tr>
						<th>Email</th>
						<td><input type="text" value="<%=PU.email%>" name="email" size="20"></td>
					</tr>
					<tr>
						<th>Additional Info</th>
						<td>
                                                    <!--<input type="text" value="additional info" name="kontak_tambahan">-->
                                                     <textarea rows="10" cols="40" name="kontak_tambahan"><%=PU.kontak_tambahan%>
						</textarea>
                                                </td>
					</tr>
                                        <tr>
                                            <th>Besar Diskon</th>
                                            <td><input type="text" name="jml_diskon" value="<%=PU.jml_diskon%>"></td>
                                        </tr>
                                        <tr>
                                            <th>Diskon Setelah Pemesanan ke-</th>
                                            <td><input type="text" name="syarat_diskon" value="<%=PU.syarat_diskon%>"></td>
                                        </tr>
				</table>
                                <input type="submit" value="Submit Form"/>
                                <input type="reset" value="Reset Form"/>
                                </form>
			</div>
        </div>

    </div>
    <div id="footer">
    </div>
</body>
</html>
